package de.ventu.picpic.controls
{
    import flash.display.MovieClip;
    
	public class ImageGrid extends MovieClip implements IImage
	{
		public function ImageGrid(posX:Number, posY:Number)
		{
            x = posX;
            y = posY;
		}
		
		public function addImages(images:Array):void
		{
		    for(var i:uint = 0; i < images.length; i++)
		    {
		        trace(images[i].width.toString());
		        		        
		        images[i].x = i * images[i].width;
		        this.addChild(images[i]);
		    }
		}
	}
}